// user.js
import request from '../Util/axios/request.js';

export function login(data) {
  return request.get('/login/numberAndPassword', data);
}

export function authCode(data) {
  return request.get('/login/authCode', data);
}

export function emailLogin(data) {
  return request.get('/login/emailLogin', data);
}
// 注册
export function register(data) {
  return request.post('/myself/register', data);
} 